﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC_Class.Infrastructrue.Interfaces
{
    public interface IBaseRepository<T> where T : class
    {
        public DataDbContext Context { get; }
        int Add(T entity);
        IQueryable<T> GetAll();
        int Update(T entity);
    }
}
